<template>
  <el-card shadow="never" class="aui-card--fill">
    <div class="block">
      <div class="demonstration">
        <span>稻荷户外俱乐部,欢迎您的使用！</span>
      </div>
      <el-carousel height="550px">
        <el-carousel-item v-for="(img, index) in dataList" :key="index">
          <img :src="img.img" alt="">
        </el-carousel-item>
      </el-carousel>
    </div>
  </el-card>
</template>

<script>
export default {
  data() {
    return {
      dataList: [
        {
          "img": require("../../../public/camp.jpg")
        }, {
          "img": require("../../../public/climb.jpg")
        }, {
          "img": require("../../../public/fish.jpg")
        }, {
          "img": require("../../../public/surf.jpg")
        }, {
          "img": require("../../../public/ski.jpg")
        }
      ]
    }
  }
}
</script>

<style scoped>
.el-carousel__item h3 {
  color: #475669;
  font-size: 14px;
  opacity: 0.75;
  line-height: 150px;
  margin: 0;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n+1) {
  background-color: #d3dce6;
}

.demonstration {
  color: green;
  font-size: 30px;
  text-align: center;
  font-family: "Times New Roman", Times, serif;
}
</style>
